﻿using System;

namespace XUCore.NetCore.FreeSql.Entity
{
    /// <summary>
    /// 实体添加接口
    /// </summary>
    /// <typeparam name="TKey">表主键类型</typeparam>
    /// <typeparam name="TUKey">用户主键类型</typeparam>
    public interface IEntityAdd<TKey, TUKey>
    {
        /// <summary>
        /// 创建者
        /// </summary>
        TUKey CreatedAtUserId { get; set; }
        string CreatedAtUserName { get; set; }
        DateTime? CreatedAt { get; set; }
    }
}